<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
            "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>



<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.08">
<LINK rel="stylesheet" type="text/css" href="tutorial.css">
<TITLE>
A Tutorial Tour of Debugging in TkECLiPSe
</TITLE>
</HEAD>
<BODY >
<A HREF="tutorial023.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="tutorial042.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>

<H1 CLASS="chapter"><A NAME="htoc77">Chapter&nbsp;5</A>&nbsp;&nbsp;A Tutorial Tour of Debugging in TkECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP></H1>
<A NAME="chapdebug"></A>
<BR>
<BR>
This chapter demonstrates a sample debugging session using
TkECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP>, showing how some of the 
development tools can be used. We are by no means using all the tools or
all the functionalities of any tool, but hopefully this will give you a
flavor of the tools so that you will explore them on your own. You can get
more information on the tools from the <TT>Help</TT> menu, and from the popup
balloons which appear when your mouse cursor stops over a feature for
a few seconds. <BR>
<BR>
In the tutorial tour, we will assume that you have some knowledge of
ECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP>. It is helpful if you also have some knowledge of
traditional Prolog debugging, although this is not necessary.<BR>
<BR>
This chapter is designed for you to follow while running TkECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP>.
To keep things simple, the program is run with a very small
data set, but it should be sufficient to see how the techniques described
can be applied to real programs. <BR>
<BR>
At the end of the chapter, there is a summary of the main features of the
main development tools.<BR>
<BR>
This chapter
also contains many screen-shots, some of which are best viewed in colour, or
in looking at the actual screen as you follow along.<BR>
<BR>

	<BLOCKQUOTE CLASS="figure"><DIV CLASS="center"><HR WIDTH="80%" SIZE=2></DIV>
	<DIV CLASS="center">
	<TABLE CELLPADDING=10>
<TR><TD BGCOLOR="#DB9370">
	
<DL CLASS="description" COMPACT=compact><DT CLASS="dt-description">
<B>Balloon help</B><DD CLASS="dd-description"> A short description of a feature will popup in a
`balloon' when the mouse cursor stops over the feature for a few seconds.
<DT CLASS="dt-description"><B>Help file</B><DD CLASS="dd-description"> Help files are available for all the tools and
toplevel. They provide more detailed information on the tools, and can be
obtained from the <TT>Help</TT> menu, and by typing Alt-h
(Alt and h keys together) in the tool.
</DL>

	</TD>
</TR></TABLE>
	</DIV>
	<BR>
<BR>
<DIV CLASS="center">Figure 5.1: Getting Help</DIV><BR>
<BR>

	<DIV CLASS="center"><HR WIDTH="80%" SIZE=2></DIV></BLOCKQUOTE>
<UL>
<LI><A HREF="tutorial038.html">The Buggy Program</A>
<LI><A HREF="tutorial039.html">Running the Program</A>
<LI><A HREF="tutorial040.html">Debugging the Program</A>
<LI><A HREF="tutorial041.html">Summary</A>
<UL>
<LI><A HREF="tutorial041.html#toc42">TkECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP> toplevel</A>
<LI><A HREF="tutorial041.html#toc43">Predicate Browser</A>
<LI><A HREF="tutorial041.html#toc44">Delayed Goals Viewer</A>
<LI><A HREF="tutorial041.html#toc45">Tracer</A>
<LI><A HREF="tutorial041.html#toc46">Tracer Filter</A>
<LI><A HREF="tutorial041.html#toc47">Term Inspector</A>
</UL>
</UL>

<BR>
<BR>
<HR>
<A HREF="tutorial023.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="tutorial042.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
